import {Component} from "@angular/core";

@Component({
    selector: 'my-app',
    templateUrl: "./app/app.html",
})
export class AppComponent {

    // private name:string = "jack";
    // private age:number = 25;
    // private married:boolean = false;
    private user:User = {"name":"jack", "age":25, "married":false};

    private userArray:User[] = [
        {"name":"jack", "age":25, "married":false},
        {"name":"tom", "age":26, "married":true}
        // {"name":"mike", "age":27, "married":false}
    ];

}
